<?php
include_once("../include/init.php");
include_once("../include/base.php");
$oid = $_GET['oid'];
$pid = $_GET['pid'];
$sql ="select * from tr_order where order_id =$oid";
$res = mysql_query($sql);
$info= mysql_fetch_assoc($res);
if($info['order_status']!=4){
	msg('请确定收货');
}

?>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title><?php echo $cfg_title;?></title>
		<meta name="description" content="<?php echo $cfg_description;?>"/>
		<meta name="keywords" content="<?php echo $cfg_keywords;?>"/>
		<link rel="stylesheet" href="../public/css/index.css"/>		
	</head>
	<body>
		<!-- 头部-->
<?php
include_once("header.php");
?>
		<!-- 主体-->

		<div class="content">
			<table>
			<form action="do_comment.php" method="post">
				<tr>
					<td>评价</td>
					<td>
					<input type="radio" name="comment" value="1">满意
					<input type="radio" name="comment" value="2">一般
					<input type="radio" name="comment" value="0">不满意</td>
				</tr>
				<tr>
				<td>评价：</td>

				<td><?php
								include_once("./fckeditor/fckeditor.php");
								$fckeditor = new FCKeditor("content");//定义默认值 name
								$fckeditor->Width = "300px";//定义编辑器的宽度
								$fckeditor->Height = "200px";//定义编辑器的高度
								$fckeditor->Value ="" ;//定义默认值
								$fckeditor->BasePath='./fckeditor/';
								$fckeditor->ToolbarSet = "Basic";
								$fckeditor->Create();//创建编辑器
						?>
				</td>
				</tr>
				<tr>
					<input type="hidden" name="oid" value="<?=$oid?>">
					<input type="hidden" name="pid" value="<?=$pid?>">
					<td><input type="submit" name='sub' value="提交"></td>
				</tr>
			</form>	
			</table>		
		</div>
			<hr>
		<div class="clearfix"></div>
			<!-- 页脚-->
			<?php
             include_once("footer.php");
             ?>
		
	</body>
</html>
